package Dome1;

public class Test {
    public static void main(String[] args) {
        Dog dog=new Dog();
        dog.name="旺财";
        dog.bark();

        Cat cat=new Cat();
        cat.name="咪咪";
        cat.mimi();
    }
}
